package com.wqnmdb.im.domain.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "im_affirm")
public class ImAffirm {

    @Id
    private String id;

    /**
     * app名称
     */
    private String appName;

    /**
     * 接收方
     */
    private Integer receiveUserId;

    /**
     * sessionID
     */
    private String sessionId;

    /**
     * 唯一ID
     */
    private String uuid;

    /**
     * 状态 -1已撤回 1-已送达  2-已读
     */
    private int status;

    /**
     * 创建时间
     */
    private Integer createTime;

}
